projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739588c
)
wayland: Annotate the log_handler function
author
Emmanuele Bassi
<ebassi@gnome.org>
Fri, 28 Apr 2017 22:10:51 +0000
(23:10 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Fri, 28 Apr 2017 22:12:26 +0000
(23:12 +0100)
The log_handler() internal function is a candidate for the GCC format
attribute for printf-like functions.
gdk/wayland/gdkdisplay-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdisplay-wayland.c
b/gdk/wayland/gdkdisplay-wayland.c
index 47805467e72126c3a577a9ef39c7eb772d90bb53..bb1b78a6b4a046aadceb29d53fed570835a4b3cc 100644
(file)
--- a/
gdk/wayland/gdkdisplay-wayland.c
+++ b/
gdk/wayland/gdkdisplay-wayland.c
@@
-481,6
+481,7
@@
static const struct wl_registry_listener registry_listener = {
gdk_registry_handle_global_remove
};
+G_GNUC_PRINTF (1, 0)
static void
log_handler (const char *format, va_list args)
{